<template>
    <header class="header">
        <nav class="container flex-container">
            <div class="flex-item logo">
                <slot name="nav-left"></slot>
            </div>
            <div class="flex-item">
                <slot name="nav-right"></slot>
            </div>
        </nav>
    </header>
</template>

<style lang="scss" scoped>
    .container {
        margin: 0 auto;
        width: 100%;
        color:#FFFFFF;
        padding: 0 130px;
    }
    .header {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 60px;
        line-height: 70px;
        color:white;
        background-color: transparent;
    }
    .flex-container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .flex-item {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #FFFFFF;
            font-size: 32px;
            &.logo {
                // width: 60px;
                // height: 60px;
            }
            img {
                display: block;
                max-width: 100%
            }
        }
    }
    .nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  font-size: 14px;

  li {
    cursor: pointer;
    min-width: 50px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    &:first-child {
      border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
  }
}
.newLogo-right {
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    width: 156px;
    display: inline-block;
    border-left: 1px solid #ccc;
    color: #888;
    padding-left: 12px;
    margin-left: -8px;
    vertical-align: middle;
}
</style>
